package com.syni.mdd.yhd.common.all.dao.jpa;

import com.syni.mdd.yhd.common.all.dao.BaseJPADao;
import com.syni.mdd.yhd.common.all.entity.BmsBusiness;
import com.syni.mdd.yhd.common.all.entity.BmsBusinessInfo;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface BmsBusinessInfoDao extends BaseJPADao<BmsBusinessInfo,Integer> {
    /**查询店铺支付宝**/
    List<BmsBusinessInfo> findByBusinessIdAndAlipayStatus(Integer businessId,Integer status);

    /**查询店铺支付宝**/
    List<BmsBusinessInfo> findByBusinessIdInAndAlipayStatus(Set businessIds,Integer status);

    List<BmsBusinessInfo> findByBusinessId(Integer businessId);
}
